package com.zhuangjie.rider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhuangjie.rider.entity.Rider;
import com.zhuangjie.rider.enums.DeliveryOrderState;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhuangjie
 * @since 2023-12-26
 */
//@Mapper
public interface RiderMapper extends BaseMapper<Rider> {


    List<Long> filterUnavailableRiders(@Param("riderIds") List<Long> riderIds, @Param("workStatus") Short workStatus, @Param("ltDeliveryStatus") DeliveryOrderState ltDeliveryStatus);
}
